﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="printff.aspx.cs" Inherits="SalePriceSystem.Page.printff" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
        <script type="text/javascript">
            function Print() {
                var prtContent = window.opener.document.getElementById('ReportViewer1_ctl09').innerHTML;
                document.getElementById("printDiv").innerHTML = prtContent;
                window.print();
                window.opener.focus();
                window.close();
            }
    </script>


</head>
<body onload="Print();">
    <form id="form1" runat="server">
  <div id="printDiv">
    </div>
    </form>
</body>
</html>
